package com.gxa.customer.controller;

import com.gxa.common.commons.R;
import com.gxa.customer.service.IndustryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/customer/industry")
public class IndustryController {
    @Autowired
    private IndustryService industryService;

    //查询所有行业类型
    @GetMapping(value = "/selectAllIndustry")
    public R selectAllIndustry(){
        return industryService.selectAllIndustry();
    }
}
